<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			.a {
				width:100px;
				height: 100px;
				background: red;
			}
			.b {
				width:150px;
				height: 100px;
				background: blue;
			}
			.wrap{
				width:100%;
				height: 100px;
			}
		</style>
	</head>
	<body>
		<div class="wrap">
			<div class="a" style ="float:left">
				div-a floatleft
			</div>
			<div class="b">
				div-b
			</div>
		</div>
		
		
		<div class="wrap">
			<div class="a" style ="float:left">
				div-a floatleft
			</div>
			<input/>input-b
		</div>
			
		<div class="wrap">
			<input style ="float:left"/>input-a floatleft
			<div class="b">
				div-b
			</div>
		</div>
		
		<div class="wrap">
			<input style ="float:left"/>input-a floatleft
			<input />input-a floatleft
		</div>
	</body>
</html>
